import request from '@/utils/request'

export function getLastDayHearts(nodeId) {
  return request({
    url: '/heartBeat/getLastDayHearts/' + nodeId,
    method: 'get',
  })
}

export function getHeartsSchedule(nodeId,lastDate) {
  return request({
    url: '/heartBeat/getHeartsSchedule/' + nodeId + '/' + lastDate,
    method: 'get',
  })
}